<template>
	<view>
<!-- 		<cu-custom class="text-Black" bgColor="bg-white":isBack="true">
			<block slot="backText"></block>
			<block slot="content">我的课程</block>
		</cu-custom> -->

		<view class="cu-card article padding-top-sm" :class="isCard?'no-card':''">
			<view class="cu-item shadow padding-top margin-bottom-xs">
				<view class="content">
					<image class="fl" src="https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg"
					 mode="aspectFill"></image>
					<view class="fr desc">
						<view class="text-black">我要学习店务系统店面管理</view>
						<view class="text-gray">
							<text class="cuIcon-videofill lg text-gray margin-right-xs"></text>
							<text>145245 播放次数</text>
						</view>
						<view class=" text-gray">
							<text class="cuIcon-timefill lg margin-right-xs"></text>
							<text>2020-02-02 14：00</text>
						</view>
					</view>
				</view>
			</view>
			<view class="cu-item shadow padding-top">
				<view class="content">
					<image class="fl" src="https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg"
					 mode="aspectFill"></image>
					<view class="fr desc">
						<view class="text-black">我要学习店务系统店面管理</view>
						<view class="text-gray">
							<text class="cuIcon-videofill lg text-gray margin-right-xs"></text>
							<text>145245 播放次数</text>
						</view>
						<view class=" text-gray">
							<text class="cuIcon-timefill lg margin-right-xs"></text>
							<text>2020-02-02 14：00</text>
						</view>
					</view>
				</view>
			</view>
			<view class="cu-item shadow padding-top">
				<view class="content">
					<image class="fl" src="https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg"
					 mode="aspectFill"></image>
					<view class="fr desc">
						<view class="text-black">我要学习店务系统店面管理</view>
						<view class="text-gray">
							<text class="cuIcon-videofill lg text-gray margin-right-xs"></text>
							<text>145245 播放次数</text>
						</view>
						<view class=" text-gray">
							<text class="cuIcon-timefill lg margin-right-xs"></text>
							<text>2020-02-02 14：00</text>
						</view>
					</view>
				</view>
			</view>
			<view class="cu-item shadow padding-top">
				<view class="content">
					<image class="fl" src="https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg"
					 mode="aspectFill"></image>
					<view class="fr desc">
						<view class="text-black">我要学习店务系统店面管理</view>
						<view class="text-gray">
							<text class="cuIcon-videofill lg text-gray margin-right-xs"></text>
							<text>145245 播放次数</text>
						</view>
						<view class=" text-gray">
							<text class="cuIcon-timefill lg margin-right-xs"></text>
							<text>2020-02-02 14：00</text>
						</view>
					</view>
				</view>
			</view>
			<view class="cu-item shadow padding-top">
				<view class="content">
					<image class="fl" src="https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg"
					 mode="aspectFill"></image>
					<view class="fr desc">
						<view class="text-black">我要学习店务系统店面管理</view>
						<view class="text-gray">
							<text class="cuIcon-videofill lg text-gray margin-right-xs"></text>
							<text>145245 播放次数</text>
						</view>
						<view class=" text-gray">
							<text class="cuIcon-timefill lg margin-right-xs"></text>
							<text>2020-02-02 14：00</text>
						</view>
					</view>
				</view>
			</view>
		</view>	
	</view>
</template>

<script>
	export default {
		data() {
			return {
				TabCur: 0,
				scrollLeft: 0
			};
		},
		methods: {
			tabSelect(e) {
				this.TabCur = e.currentTarget.dataset.id;
				this.scrollLeft = (e.currentTarget.dataset.id - 1) * 60
			}
		}
	}
</script>

<style>
	.cu-card > .cu-item {
		margin: 1px 15px 1px;
	}
</style>
